using System;
using Gtk;
using Gdk;
using Skipjack;
using Skipjack.ImportDo;

public partial class MainWindow : Gtk.Window
{
	public MainWindow () : base(Gtk.WindowType.Toplevel)
	{
		Build ();
		createsframe();
		this.Resizable = true;
	}

	protected void OnDeleteEvent (object sender, DeleteEventArgs a)
	{
		Application.Quit ();
		a.RetVal = true;
	}
	
	private void createsframe(){
		Gdk.Color bgcolour = new Gdk.Color(69,69,69);
		GlossyRoundedFrame sframe = new GlossyRoundedFrame();
		sframe.DrawFill = true;
		sframe.DrawFrame = false;
		sframe.FillColor = bgcolour;
		sframe.FrameColor = new Gdk.Color(255,0,0);
		sframe.FillAlpha = .9;
		sframe.FrameAlpha = .0;
		sframe.Radius = 0;
		
		
		SimpleFrame coresimple = new SimpleFrame();
		sframe.Add(coresimple);
		sframe.ShowAll();
		
		this.vb.Add(sframe);
		
	}
}
